package com.lx.yygh.hosp.client;

import com.lx.yygh.vo.hosp.ScheduleOrderVo;
import com.lx.yygh.vo.order.SignInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author c先生
 * @date 2022年10月30日 下午 5:09:28
 * @describe
 */
@FeignClient("service-hosp")
@Repository(value = "hospFeignClient")
public interface HospFeignClient {
    @GetMapping("/admin/hosp/schedule/inner/getScheduleOrderVo/{scheduleId}")
    public ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId")String scheduleId);

    @GetMapping("/admin/hosp/hospitalSet/inner/getSignInfoVo/{hoscode}")
    public SignInfoVo getSignInfoVo(@PathVariable("hoscode")String hoscode);
}
